Imports StructureMap
Imports StructureMap.Attributes
Imports StructureMap.Graph
Imports StructureMap.Configuration.StructureMapConfigurationSection
Imports StructureMap.Configuration.DSL
Imports myBookmarks.Data

Namespace myBookmarks.Web
    Public Module IoCContainer
        Public Sub Configure()
            ObjectFactory.Initialize(AddressOf DoInitialization)
        End Sub

        Sub DoInitialization(ByVal x As IInitializationExpression)
            x.AddRegistry(Of BookmarkRegistry)()
        End Sub
    End Module
End Namespace
